# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(EmitereFacturari)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(EmitereFacturari_SRCS dataemitere.cpp  emiterefacturi.cpp  emiterefacturiplugin.cpp)
QT4_WRAP_CPP(EmitereFacturari_SRCS dataemitere.h  emiterefacturi.h  emiterefacturiplugin.h)
QT4_WRAP_UI(EmitereFacturari_SRCS emiterefacturi.ui  selectareIntervalEmitere.ui)
QT4_ADD_RESOURCES(EmitereFacturari_SRCS emiterefacturi.qrc)

add_library(EmitereFacturari SHARED ${EmitereFacturari_SRCS})
add_dependencies(EmitereFacturari KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(EmitereFacturari KontAMabil ${QT_LIBRARIES})

install(TARGETS EmitereFacturari ${INSTALL_PLUGINS_DEFAULT_ARGS})
